<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>9.27作业5</title>
	<script>
		var num=parseInt(prompt('请输入一个三位数'));
        var a=num%10;
        var b=(num%100-a);
        var c=(num-b-a)/100;
        console.log(a*100+b+c);
	</script>
</head>
<body>
	
</body>
</html>